<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="estilo.css" />
<script src="validator.js"></script>
<title>Editar dados da conta</title>
</head>

<body>
<form method="POST" action="conta.jsp" name="formulario" onsubmit="return validarAlteracao()">
  <div class="box">
    <h1>Conta</h1>
    <label>
      <span>Nome:</span>
      <input type="text" name="nome" id="inG" />
    </label>
    <label>
      <span>Sobrenome:</span>
      <input type="text" name="sobrenome" id="inG" />
    </label>
    <h1>Editar email</h1>
    <label>
      <span>E-mail antigo:</span>
      <input type="text" name="Aemail" id="inG" />
    </label>
    <label>
      <span>E-mail novo:</span>
      <input type="text" name="Nemail" id="inG"/>
    </label>
    <label>
      <span>Confirmar E-mail novo:</span>
      <input type="text" name="Nemail2" id="inG"/>
    </label>
    <h1>Editar Senha</h1>
    <label>
      <span>Senha Antiga:</span>
      <input type="password" name="Asenha" id="inP" />
    </label>
    <label>
      <span>Senha Nova:</span>
      <input type="password" name="Nsenha" id="inP" />
    </label>
    <label>
      <span>Confirmar senha:</span>
      <input type="password" name="Nsenha2" id="inP" />
    </label>
    <input class="check" type="checkbox"> Divulgar infoma&ccedil;&otilde;es?</input><br />
    <input class="botao" type="submit" value="Salvar" name="alterar"/>
    <input type="button" class="botao" value="Cancel" onclick="location.href='home.jsp';return false;" /> 
  </div>
</form>
</body>
</html>
